<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/jquery-3.5.1.min.js"></script>
</head>
<body>
    <div id="div1"></div>

    <script>

        $(function(){
            var $div1=$('#div1');
            var div1=document.getElementById('div1');
            console.log($div1);
            console.log(div1);
            console.log();
             
            
        });
    </script>
</body>
</html>